package com.aaa.controller;

import com.aaa.entity.LayData;
import com.aaa.service.RoleMenuService;
import com.aaa.util.EasyExcelUtil;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;
import java.io.IOException;
import java.util.List;

/**
 * (TRoleMenu)表控制层
 *
 * @author makejava
 * @since 2022-10-26 15:29:12
 */
@RestController
@RequestMapping("RoleMenu")
public class RoleMenuController {
    /**
     * 服务对象
     */
    @Resource
    private RoleMenuService roleMenuService;

    @PostMapping("updRoleMenu")
    @ResponseBody
    public LayData updRoleMenu(Integer rid,String mids){
        Boolean isNO = roleMenuService.updRoleMenu(rid,mids);
        return new LayData(isNO);
    }
}

